package com.example.mybatis;

import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapperXML {

    List<UserInfo> selectAll();
    Integer insertAll(UserInfo userInfo);
    Integer insertAll2(@Param("userinfo") UserInfo userInfo);
    Integer updateAll(String password,Integer age,Integer id);
    Integer deleteuser(Integer id);
    List<UserInfo> selectuser(UserInfo userInfo);
    Integer Updateuser(String password,Integer age,Integer gender,Integer id);
    Integer insertuser3(@Param("userInfo") UserInfo userInfo);
    Integer Deleteuser(List<Integer> ids);
}
